STEP 6: Let's use our variable to make our sprite turn!

Remember, don't put quotes around the name of the variable.

  • Go to and drag out Turn Left. Drop it at the bottom of your program.
  • Replace the integer 90 in .turn_left() with the variable angle.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)